﻿using System.ComponentModel.DataAnnotations;

namespace XsqTech.SmartOA.Dtos.DTO
{
    public class RolesOutputDto
    {
        public Guid RId { get; set; } = new Guid();

        /// <summary>
        /// 角色名称
        /// </summary>
        [StringLength(30)]
        [Required]
        public string RName { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        [StringLength(100)]
        [Required]
        public string RText { get; set; }

        /// <summary>
        /// 状态 0：禁用、 1： 启用
        /// </summary>
        public int Status { get; set; } = 1;
    }
}
